package cn.iocoder.yudao.module.infra.controller.admin.category.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * TODO
 *
 * @author sun
 * @date 16:07 2023/12/4
 **/
@Schema(description = "数据管理 - 分类列表 Request VO")
@Data
public class CategoryListVO {

    @Schema(description = "分类名称，模糊匹配", example = "芋道")
    private String name;

    @Schema(description = "分类编号，模糊匹配", example = "芋道")
    private String code;

    @Schema(description = "展示状态，参见 CommonStatusEnum 枚举类", example = "1")
    private Integer status;

    @Schema(description = "父分类 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long parentId;
}
